package com.itheima.InnerTest;

public class Outer {
    int a = 100;

    class Inner {

        int b = 200;

        public void method() {
            int c = 300;
            System.out.println(c);
            System.out.println(b);
            System.out.println(a);
        }
    }

    public static void main(String[] args) {

        //创建内部类对象，实现访问内部类成员。
        Outer.Inner inner = new Outer().new Inner();
        inner.method();

        int b = inner.b;
        System.out.println(b);

        String s = "  Sizi   ,   toUpCase    ,    ArrayList    , add  ，   set(index)  ,  toLowCase    ,  get(index)  ,   trim  ";
        String trim = s.trim();
        System.out.println(s);
        System.out.println(trim);
    }


}




